﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.TeamFoundation.Framework.Server;
using Microsoft.TeamFoundation.WorkItemTracking.Server;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using Microsoft.TeamFoundation.Client;
using System.Net.Mail;
using System.Configuration;

namespace TestbedApp
{
    public partial class frmTestBed : Form
    {
        public TFSWorkItemAssigned.AssignedToHandler hldTest;

        public frmTestBed()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //Call the exposed function that the handler also calls
            hldTest = new TFSWorkItemAssigned.AssignedToHandler();
            hldTest.ProcessChange(int.Parse(txtWorkItem.Text), cmbType.Text.ToString(), "User1", "User2", "Test Subject");

        }

      
    }
}
